/**
 * 渲染 v-for 下的节点
 * @param {Array} list
 * @param {Function} render
 * @return {Array<VNode>}
 */
export function renderList (list, render) {
    const vnodeList = [];
    for (let i=0; i<list.length; i++) {
        const vnode = render(list[i]);
        vnodeList.push(vnode);
    }
    return vnodeList;
}
